import request from '@/utils/request'

// 查询实体卡列列表
export function listCardList(query) {
  return request({
    url: '/project/cardList/list',
    method: 'get',
    params: query
  })
}

// 查询实体卡列详细
export function getCardList(id) {
  return request({
    url: '/project/cardList/' + id,
    method: 'get'
  })
}

// 新增实体卡列
export function addCardList(data) {
  return request({
    url: '/project/cardList',
    method: 'post',
    data: data
  })
}

// 修改实体卡列
export function updateCardList(data) {
  return request({
    url: '/project/cardList',
    method: 'put',
    data: data
  })
}

// 删除实体卡列
export function delCardList(id) {
  return request({
    url: '/project/cardList/' + id,
    method: 'delete'
  })
}
